<?php echo $header; ?><?php echo $column_left; ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script>
<script type="text/javascript">
		$(document).ready(function(){
			$('#myslides').cycle({
				fx: 'turnLeft',
				speed: 1000,
				timeout: 5000
			});
/*     blindX
     blindY
     blindZ
     cover
     curtainX
     curtainY
     fade
     fadeZoom
     growX
     growY
     scrollUp
     scrollDown
     scrollLeft
     scrollRight
     scrollHorz
     scrollVert
     shuffle
     slideX
     slideY
     toss
     turnUp
     turnDown
     turnLeft
     turnRight
     uncover
     wipe
     zoom*/
		}); 
	</script>
<div id="content">
<div class="middle">
	<div style="padding-left:5px; padding-bottom:8px; height:271px" id="myslides">
	<?php
	if(count($banners)>0)
	{
		foreach($banners as $banner)
		{
/*			$web='#';
			if($logo['weblink']!='')
			{
				$web="http://".$logo['weblink'];
			}
			echo '<a href="'.$web.'"><img src="image/'.$logo['image'].'" width="140" title="'.$logo['name'].'"/></a>';
*/	
			echo '<img style="padding-left:5px;" src="image/'.$banner['image'].'" width="576" height="271" title="'.$banner['name'].'"/>';
		}
	}
	?>
	</div>
</div>
<br />
  <?php foreach ($modules as $module) { ?>
  <?php echo ${$module['code']}; ?>
  <?php } ?>
  
    <div class="top">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center">
      <h1><?php echo $heading_title; ?></h1>
    </div>
  </div>
  <div class="middle">
    <div><?php echo $welcome; ?></div>
  </div>
    <div class="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center"></div>
  </div>
</div>
<?php echo $column_right; ?>
<?php echo $footer; ?> 
